<template>
  <BillDetail showType="modal" :id="id"/>
</template>

<script>
import store from '@/store'
import {computed, reactive, watch, toRefs, onMounted, ref, defineAsyncComponent} from 'vue'
import {useRoute} from "vue-router";
const BillDetail = defineAsyncComponent(() =>
  import("@/views/bill/BillDetail/index.vue")
);

/*  mainapp 打开弹框专用  */
export default {
  components: { BillDetail },
  setup() {
    const $route = useRoute();
    const id = ref($route.query.id);

    return {
      id,
    }
  }
}
</script>

<style lang="scss" scoped>

</style>